<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Vue 测试实例 - 菜鸟教程(runoob.com)</title>
    <script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
</head>
<body>
<div id="app">
    <ol>
        <li v-for="site in sites">
            {{ site.name }}
        </li>
    </ol>

    <ol>
        <template v-for="test in tests">

            <li v-for="vo in test">

                {{ vo.name }}

            </li>

        </template>



            <li v-for="test2 in tests2.order_list">

                {{ test2.price }}

            </li>


    </ol>
</div>

<script>
    new Vue({
        el: '#app',
        data: {
            sites: [
                { name: 'Runoob' },
                { name: 'Google' },
                { name: 'Taobao' }
            ],
            tests:[
                [
                    {"id":"1","name":"lis"},
                    {"id":"2","name":"ler"}
                ],
                [
                    {"id":"3","name":"re"},
                    {"id":"4","name":"yyy"}
                ],
            ],
            tests2:{
                "order_list":[
                    {'order_id':'1','price':'20'},
                    {'order_id':'2','price':'30'}
                ],
            }


        }
    })
</script>
</body>
</html>